
package it.sebsibenal.server.dao.impl;

import it.sebsibenal.server.dao.UserDAO;
import it.sebsibenal.shared.User;

public class DatastoreUserDAO extends AbstractDatastoreDAO<User> implements UserDAO {

	public DatastoreUserDAO() {
		super(User.class);
	}

	@Override
	public User findByEmail(String email) {
		return getService().query(User.class).filter("email", email).get();
	}
	
	

	
}
